<template>
  <div class="look">
    <!-- 查看组件 -->
    <div>
      <el-dialog title="查看" :visible.sync="DialogVisibleMod" :show-close="false" width="780px">
        <div class="all">
          <div class="list" v-for="(item,index) in attributeOrder" :key="index" v-if="item.examineSign">
            <span class="fon">{{item.CN}}:</span>
            <span class="inb">{{modData[item.EN]}}</span>
          </div>
        </div>

        <span slot="footer" class="dialog-footer">
          <el-button type="primary" @click="confirm" size="mini">确定</el-button>
        </span>
      </el-dialog>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      //DialogVisibleMod:false,
    };
  },
  props: ["DialogVisibleMod", "modData", "attributeOrder"],
  methods: {
    confirm() {
      //this.DialogVisibleMod=false
      console.log("1111");
      this.$emit("examineDialog", this.DialogVisibleMod);
    }
  }
};
</script>